export default {
  state: {
    twoMenu: [],
    oneIndex: "0",
    twoIndex: "1",
    oneName: "首页"
  },
  mutations: {
    setTwoMenu(state, val) {
      state.twoMenu = val.twoMenu;
      state.oneName = val.lable;
      state.oneIndex = val.oneIndex;
      state.twoIndex = 0;
    },
    setTwoIndex(state, val) {
      state.twoIndex = val;
    }
  },
  actions: {}
};
